package com.yunlong.softpark.form;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import java.util.Date;

/**
 * @Author: Cui
 * @Date: 2020/7/23
 * @Description:
 */
@Data
public class UpdateInfoForm {

    @NotBlank(message = "用户名不能为空")
    @Size(max = 20,message = "请输入20个字以内的用户名")
    private String username;

    @Email(message = "错误的邮箱格式")
    private String email;
}
